/*
 * DAWG.h
 *
 *  Created on: Sep 18, 2011
 *      Author: damian
 */

#ifndef DAWG_H_
#define DAWG_H_
#include <string>
#include <list>
#include <iostream>
#include "DAWGNode.h"
#include "DAWGNodeEnd.h"

using namespace std;

class DAWG {

	DAWGNode* root;

public:
	DAWG();
	virtual ~DAWG();
	void agregarPalabra(string palabra);
	DAWGNodeEnd* obtenerPalabra(string palabra);
	void inorden(list<string> *lexico, list<RegistroInfo*> *regInd);
};

#endif /* DAWG_H_ */
